package com.tianqu.tms.dao;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.CheckPadPicDto;

public interface CheckPadPicDao {
		
	
	/**
	 * 根据车牌号码查询
	 * @param licensePlate,VIN
	 * @return
	 * @throws TmsDaoException
	 */
	public abstract CheckPadPicDto getCarCheckPad(String licensePlate,String Vin) throws TmsDaoException;
	/**
	 * 根据车牌号码查询
	 * @param licensePlate
	 * @return
	 * @throws TmsDaoException
	 */
	public CheckPadPicDto findDtoByLicensePlate(String licensePlate)throws TmsDaoException;
	
	
	/**
	 * 根据VIN码查询
	 * @param vin
	 * @return
	 * @throws TmsDaoException
	 */
	public CheckPadPicDto findDtoByLicenseVin(String vin)throws TmsDaoException;
	
	/**
	 * 插入
	 * @param dto
	 * @throws TmsDaoException
	 */
	public void insertCheckPadPic(CheckPadPicDto dto)throws TmsDaoException;
	
	/**
	 * 更新
	 * @param dto
	 * @throws TmsDaoException
	 */
	public void updateCheckPadPic(CheckPadPicDto dto)throws TmsDaoException;
}
